$OpenBSD: patch-yle-dl,v 1.3 2017/03/19 20:28:07 benoit Exp $
--- yle-dl.orig	Mon Mar 13 06:36:30 2017
+++ yle-dl	Mon Mar 13 06:37:05 2017
@@ -74,7 +74,7 @@ excludechars_linux = '*/|'
 excludechars_windows = '\"*/:<>?|'
 excludechars = excludechars_linux
 rtmpdump_binary = None
-hds_binary = ['php', '/usr/local/share/yle-dl/AdobeHDS.php']
+hds_binary = ['${MODPHP_BIN}', '/usr/local/share/yle-dl/AdobeHDS.php']
 stream_proxy = None
 
 libcname = ctypes.util.find_library('c')
@@ -132,7 +132,7 @@ def usage():
     log('--rtmpdump path         Set path to rtmpdump binary')
     log('--adobehds cmd          Set command for executing AdobeHDS.php '
                                 'script')
-    log('                        Default: "php '
+    log('                        Default: "${MODPHP_BIN} '
                                 '/usr/local/share/yle-dl/AdobeHDS.php"')
     log('--postprocess cmd       Execute a command cmd after a successful '
                                 'download.')
